<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/5/5
  Time: 12:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>登  陆</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/layui/layuiadmin/admin.css" media="all">
    <link rel="stylesheet" href="/layui/layuiadmin/login.css" media="all">
</head>
<body>
<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login" style="display: none;">
    <div class="layadmin-user-login-main">
        <div class="layadmin-user-login-box layadmin-user-login-header">
            <h2>登录界面</h2>
            <p>图书管理系统</p>
        </div>

        <form action="${pageContext.request.contextPath}/login.do" method="post">
            <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
                <h5 class="layui-form-item layui-bg-red" style=" text-align:center">${msg}</h5>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-username"></label>
                    <input type="text" name="UserCode" placeholder="用户名" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-password"></label>
                    <input type="password" name="UserPsw" placeholder="密码" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <div class="layui-col-xs7">
                        <label class="layadmin-user-login-icon layui-icon layui-icon-vercode"></label>
                        <input type="text" name="code" placeholder="图形验证码" class="layui-input">
                    </div>
                    <div class="layui-col-xs5">
                        <div style="margin-left: 10px">
                            <img src="${pageContext.request.contextPath}/captcha" onclick="this.src=this.src+'?'+Math.random()" id="img" class="layadmin-user-login-codeimg"><a href="#" onclick="document.getElementById('img').onclick()"></a><br/>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item" style="margin-bottom: 20px">
                    <a href="register.jsp" class="layadmin-user-jump-change layadmin-link" style="margin-top: 7px">注册</a>
                </div>
                <button class="layui-btn layui-btn-fluid">登 入</button>
            </div>
            <%--用户名：<input type="text" name="UserCode"><br>
            密 码：<input type="password" name="UserPsw"><br>
            验证码:<input type="text" name="code"><img src="${pageContext.request.contextPath}/captcha" onclick="this.src=this.src+'?'+Math.random()" id="img"><a href="#" onclick="document.getElementById('img').onclick()">换一张?</a><br/>
            <input type="submit" value="登录"><br>
            <a href="register.jsp">注册</a>--%>
        </form>
    </div>

</div>

</body>

</html>
